package com.zhonghui.wms.mapper;

import com.zhonghui.wms.domain.WmsOutboundApplicationDetails;
import com.zhonghui.wms.domain.vo.WmsOutboundApplicationVo;

import java.util.List;

/**
 * 智能仓储WMS-出库申请Mapper接口
 *
 * @author zhonghui
 * @date 2023-08-08
 */
public interface WmsOutboundApplicationMapper
{
    /**
     * 查询智能仓储WMS-出库申请
     *
     * @param id 智能仓储WMS-出库申请主键
     * @return 智能仓储WMS-出库申请
     */
    public WmsOutboundApplicationVo selectWmsOutboundApplicationById(Long id);

    /**
     * 查询智能仓储WMS-出库申请列表
     *
     * @param wmsOutboundApplicationVo 智能仓储WMS-出库申请
     * @return 智能仓储WMS-出库申请集合
     */
    public List<WmsOutboundApplicationVo> selectWmsOutboundApplicationList(WmsOutboundApplicationVo wmsOutboundApplicationVo);

    /**
     * 新增智能仓储WMS-出库申请
     *
     * @param wmsOutboundApplicationVo 智能仓储WMS-出库申请
     * @return 结果
     */
    public int insertWmsOutboundApplication(WmsOutboundApplicationVo wmsOutboundApplicationVo);

    /**
     * 修改智能仓储WMS-出库申请
     *
     * @param wmsOutboundApplicationVo 智能仓储WMS-出库申请
     * @return 结果
     */
    public int updateWmsOutboundApplication(WmsOutboundApplicationVo wmsOutboundApplicationVo);

    /**
     * 删除智能仓储WMS-出库申请
     *
     * @param id 智能仓储WMS-出库申请主键
     * @return 结果
     */
    public int deleteWmsOutboundApplicationById(Long id);

    /**
     * 批量删除智能仓储WMS-出库申请
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsOutboundApplicationByIds(Long[] ids);

    /**
     * 批量删除智能仓储WMS-出库申请明细
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsOutboundApplicationDetailsByOutboundApplicationIds(Long[] ids);

    /**
     * 批量新增智能仓储WMS-出库申请明细
     *
     * @param wmsOutboundApplicationDetailsList 智能仓储WMS-出库申请明细列表
     * @return 结果
     */
    public int batchWmsOutboundApplicationDetails(List<WmsOutboundApplicationDetails> wmsOutboundApplicationDetailsList);


    /**
     * 通过智能仓储WMS-出库申请主键删除智能仓储WMS-出库申请明细信息
     *
     * @param id 智能仓储WMS-出库申请ID
     * @return 结果
     */
    public int deleteWmsOutboundApplicationDetailsByOutboundApplicationId(Long id);
}
